class A{
    public int add(int x,int y){
        return x+y;
    }
    public float add(float x,float y,float z){
        return x+y+z;
    }
}
class test3 {
    public static void main(String[] args) {
        A a=new A();
        System.out.println("4+5="+a.add(4,5));
        System.out.println("1.0+2.0+3.0="+a.add(1.0f,2.0f,3.0f));
    }
}
